<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://doc.hyperf.io
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf-cloud/hyperf/blob/master/LICENSE
 */

use Hyperf\HttpServer\Router\Router;

// home index 配置文件定义路由
// Router::addRoute(['GET', 'POST', 'HEAD'], '/home/index', 'App\Controller\Home\IndexController@index');


// Router::addRoute(['GET', 'POST', 'HEAD'], '/', 'App\Controller\IndexController@index');

// Router::addRoute(['GET', 'POST', 'HEAD'], '/hello', 'App\Controller\IndexController@hello');

// Router::addRoute(['GET', 'POST', 'HEAD'], '/vcode', 'App\Controller\IndexController@vcode');

// Router::addRoute(['GET', 'POST', 'HEAD'], '/captcha', 'App\Controller\IndexController@captcha');

// // 指向Home里面的方法
// Router::addRoute(['GET', 'POST', 'HEAD'], '/home/home', 'App\Controller\Home\HomeController@index');
// // 显示用户
// Router::addRoute(['GET', 'POST', 'HEAD'], '/home/user', 'App\Controller\Home\HomeController@get_user');
// // 插入用户
// Router::addRoute(['GET', 'POST', 'HEAD'], '/home/insert_user', 'App\Controller\Home\HomeController@insert_user');




